/**
 * url： https://101.zoo.team/zi-fu-chuan/zi-fu-chuan-part-3-yan-zheng-hui-wen-zi-fu-chuan-shi-xian-strstr-zui-chang-gong-gong-qian-zhui-he-zu#zui-chang-hui-wen-zi-chuan
 * 
 * 给定一个字符串s，找到s中最长回文子串。
 * 
 * 示例：
 * 输入："babad"
 * 输出："bab" / "aba"
 * 
 */

/**
 * 动态规划
 */


const longestPalindrome = (str) => {
    const strLen = str.length
    if (strLen <= 1) {
        return str
    }
    if (strLen === 2 || strLen === 3) {
        return str[0] === str[strLen - 1] ? str : ""
    }
    // return 
}

